﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="小区公告.aspx.cs" Inherits="小区物业管理系统.小区公告" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" Height="267px" Width="571px" AutoGenerateColumns="False" DataSourceID="LinqDataSource1">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="公告编号" HeaderText="公告编号" ReadOnly="True" SortExpression="公告编号" />
            <asp:BoundField DataField="公告标题" HeaderText="公告标题" ReadOnly="True" SortExpression="公告标题" />
            <asp:BoundField DataField="公告日期" HeaderText="公告日期" ReadOnly="True" SortExpression="公告日期" />
            <asp:BoundField DataField="公告内容" HeaderText="公告内容" ReadOnly="True" SortExpression="公告内容" />
            <asp:BoundField DataField="发布人" HeaderText="发布人" ReadOnly="True" SortExpression="发布人" />
        </Columns>
        <FooterStyle BackColor="#CCCC99" />
        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
        <RowStyle BackColor="#F7F7DE" />
        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#FBFBF2" />
        <SortedAscendingHeaderStyle BackColor="#848384" />
        <SortedDescendingCellStyle BackColor="#EAEAD3" />
        <SortedDescendingHeaderStyle BackColor="#575357" />
    </asp:GridView>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="小区物业管理系统.小区物业管理系统DataContext" EntityTypeName="" Select="new (公告编号, 公告标题, 公告日期, 公告内容, 发布人)" TableName="小区公告">
    </asp:LinqDataSource>
</asp:Content>
